package pl.put.to.classification.verification.error;

public class BooleanErrorVerifcator extends AErrorVeryficator {

	@Override
	protected double modifyError(double currentError, double margin) {
		double error = currentError;

		boolean classificationCorrect = (margin > 0);

		if (!classificationCorrect) {
			error++;
		}

		return error;
	}
}
